package com.xsky.common.util;

public class HQLUtil {

	/**
	 * @param cls
	 * @param id
	 * @return
	 * @author aaron
	 */
	public static String getDelHQL(Class<?> cls, String id) {
//		String hql = "update " + cls.getSimpleName() + " model set dr = 1 where model.id='" + id + "'";
		String hql = "update " + cls.getSimpleName() + " model set dr = 1 where model.id='" + id + "'";
		return hql;
	}
}
